package itpenguin.train;

import itpenguin.train.common.Train;
import itpenguin.train.london.Tlf;

import java.io.IOException;
import java.util.List;
import java.util.TimeZone;

public class TubePositions extends TrainPositions {

	private static final long serialVersionUID = 1L;

	@Override
	protected List<? extends Train> getTrainList() throws IOException {
		Tlf mta = new Tlf();
		return mta.getCurrentPositions();
	}
	
	@Override
	protected TimeZone getTimeZone() {
		return TimeZone.getTimeZone("Europe/London");
	}

}
